package com.xl.studentpass.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xl.studentpass.entity.TaskInfoEntity;
import com.xl.studentpass.entity.po.TaskOverViewPo;
import com.xl.studentpass.entity.vo.TaskVo;
import com.xl.studentpass.utils.R;

import java.util.List;
import java.util.Map;

/**
 * @author: xl
 * @createTime: 2023/5/28 15:47:34
 * @program: student-pass
 * @e-mail: 2199396150@qq.com
 * @description:
 */
public interface PublishTaskService extends IService<TaskInfoEntity> {
    R create(TaskVo taskVo);

    R delete(String orderId);

    List<TaskOverViewPo> getScreenTask(Map<String, String> conditions);

    Long getValidTime(String orderId);

    R getTaskInfo(Integer orderId);

    R confirmTask(Integer taskId);

    List<TaskOverViewPo> searchTask(String taskName);

}
